package com.xp.gather2;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


@MapperScan(value = "com.xp.gather2.dao")
@SpringBootApplication
@EnableSwagger2                 //开启swagger
@EnableCaching                 //开启缓存
//@EnableScheduling            //开启定时器
public class Gather2Application {

    public static void main(String[] args) {
        SpringApplication.run(Gather2Application.class, args);
    }
}
